package com.lanxin.stu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanxin.result.ResponseResult;
import com.lanxin.stu.dto.ClassesAddDTO;
import com.lanxin.stu.dto.ClassesCheckDTO;
import com.lanxin.stu.dto.ClassesDTO;
import com.lanxin.stu.dto.ClassesSearchDTO;
import com.lanxin.stu.entity.Classes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanxin.stu.vo.ClassesVO;
import com.lanxin.vo.PageVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cyh
 * @since 2025-09-17
 */
public interface IClassesService extends IService<Classes> {

    public PageVO<ClassesVO> listPageClasses(ClassesSearchDTO classesSearchDTO);
    public boolean addClasses(ClassesAddDTO classesAddDTO);
    public ClassesVO findClassesById(Integer id);
    public boolean updateClasses(ClassesDTO classesDTO);
    public boolean deleteClasses(Integer id);
    public boolean checkClassName(ClassesCheckDTO classesCheckDTO);
}
